package com.itfly.mapper;

import com.itfly.entity.Users;

import java.util.List;

/**
* @author Administrator
* @description 针对表【users】的数据库操作Mapper
* @createDate 2024-11-02 16:14:07
* @Entity com.itfly.entity.Users
*/
public interface UsersMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Users record);

    int insertSelective(Users record);

    List<Users> selectUsers();

    List<Users> selectUsersInfo(Integer userId);

    Users selectUsersByUsername(String username);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

    //模糊查询
    List<Users> selectByLike(Users users);
}
